sched: get rid of static private schedulers' structures
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 24 Feb 2016 11:02:37 +0000 (12:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 24 Feb 2016 11:02:37 +0000 (12:02 +0100)
commit9c952271607a8fd4b23987bf509ded01d32f3a90
tree44a0529fee2b7e158609156140985f8b08ad803c
parent998110fe9b758b51173609fb033dbe03b8de0a01
sched: get rid of static private schedulers' structures

In fact, they look rather useless: they are never
referenced neither directly, nor via the sched_data
pointer, as a dynamic copy that overrides them is
allocated as the very first step of a scheduler's
initialization.

While there, take the chance to also reset the sched_data
pointer to NULL, upon scheduler de-initialization.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched_arinc653.c
xen/common/sched_credit.c
xen/common/sched_credit2.c
xen/common/sched_rt.c
xen/include/xen/sched-if.h